home *** CD-ROM | disk | FTP | other *** search
/ ShareWare OnLine 2 / ShareWare OnLine Volume 2 (CMS Software)(1993).iso / graphics / handym20.zip / HANDYMAN.DOC next >
Text File  |  1993-04-21  |  16KB  |  354 lines

  1.                     HANDYMAN - HOME DRAFTING SYSTEM
  2.                             Copyright 1993
  3.                                   by
  4.                               Dan Hunting
  5.                          1126 W. Willetta St.
  6.                            Phoenix, AZ 85007
  7.                              (602)495-1493
  8.                             CIS#  73750,137
  9.  
  10.  
  11. Table of Contents:
  12.  
  13.             Introduction ............................... 1
  14.             Registration.................................1
  15.             System Requirements ........................ 2
  16.             Quick Start!  .............................. 2
  17.             Help screens & Command summary ............. 3
  18.             Using the mouse ............................ 4
  19.             Starting a drawing ......................... 5
  20.             Loading a drawing .......................... 5
  21.             Saving a drawing ........................... 5
  22.             Printing ................................... 6
  23.             Configuring HANDYMAN ....................... 6
  24.             Technical Stuff..............................7
  25.  
  26.  
  27. INTRODUCTION:
  28.  
  29. HANDYMAN is a drafting program designed to produce scale drawings for
  30. use in construction and carpentry projects.  Precise images may be
  31. drawn on the screen using either the cursor keys or the mouse, saved to
  32. disk, modified and printed out on either a nine or 24-pin printer.
  33.  
  34. Unlike some other programs, HANDYMAN lets you draw and measure in
  35. repeatable, useful units.  A program that tells you to cut a two-by-
  36. four 6.2 feet long isn't of much use when you pull out your tape
  37. measure marked in inches and feet!  HANDYMAN uses standard units of
  38. feet, inches and eighths of inches, so you can more accurately draw
  39. your project.
  40.  
  41. Whether on the screen or printed on paper, the drawings remain true-to-
  42. scale and free from distortion. A square drawn as one (scale) foot on
  43. each side is shown as perfectly square and in perfect scale both on the
  44. screen and in your printed plans.
  45.  
  46. REGISTRATION:
  47.  
  48. HANDYMAN is not a free program. You are welcome to try it out and
  49. experiment with it, but if you are using it on any sort of regular
  50. basis,  print out the file REGISTER.FRM and send it in along with the
  51. very modest $15.00 registration fee. You'll reciecve the lastest
  52. registered version of HANDYMAN in return and a printed copy of this
  53. manual. If you check the appropriate box on the form, I'll send you a
  54. copy of the source code, which should be quite interesting to anyone
  55. who programs in BASIC, espcially PowerBasic.
  56. SYSTEM REQUIREMENTS:
  57.  
  58. HANDYMAN operates in EGA mode only.  Users must have an EGA or VGA
  59. monitor and card and at least an 80286 CPU installed.  Microsoft-
  60. compatible mice of either the two or three button species are
  61. supported, but certainly not required.  The printer codes have been set
  62. to work on my Epson LQ printer.  A configuration file can be modified
  63. by the user to accommodate printers that don't exactly conform to the
  64. Epson standard.
  65.  
  66.  
  67. QUICK START:
  68.  
  69. Since nobody likes to read .DOC files, here's some bare-bones
  70. instructions to get you started...
  71.  
  72. It's a good idea to create a HANDYMAN directory and copy the program
  73. and the drawing files to it.
  74.  
  75. Start HANDYMAN by typing HANDYMAN at the DOS prompt in this directory.
  76. Your first choice will be between loading a previously saved drawing or
  77. starting new one from scratch.  Choose <LOAD DRAWING> to start with and
  78. we'll see what happens.  Load the STUDIO file for now. You'll now see
  79. the floor plan for a small building, shown in green on your screen.  At
  80. the bottom left corner of the screen, you'll see <25'>, which indicates
  81. that the width of the screen is equal to 25 scale feet.  Next is the
  82. title of the drawing, and finally a note that the F1 key shows the help
  83. screen.
  84.  
  85. Now we can start playing around:  move the arrow around the screen
  86. using the numeric keypad.  Notice that as you move around, the Line
  87. Length indicator changes to show the scale distance between the red
  88. cursor arrow (which is the one you're moving) and the blue arrow.  Also
  89. notice that the amount that the arrow moves with each key-press changes
  90. depending on the state of the `NumLock' key.  If NumLock is ON then the
  91. arrow moves one inch at a time, but with NumLock OFF it moves one FOOT
  92. for each keypress.  On a keyboard with separate cursor control keys,
  93. just leave NumLock ON, and you can then use the number pad for the
  94. little moves and the cursor keys for the big moves.  Also note that you
  95. can move diagonally using `Home', `End', `PgUp' and `PgDn'.  By
  96. observing the Line Length display, you can not only draw with
  97. precision, you can also go back and take measurements off of something
  98. you've already drawn. Mouse users will find this `Electronic ruler'
  99. especially easy to use.
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110. HELP SCREENS:
  111.  
  112. Help is available anytime during drawing by pressing <F1>.  The help
  113. screen is pretty self-explanatory:  it shows you what keys are for
  114. loading and saving pictures, printing, and the various drawing tools.
  115. Here's a summary of the various commands for HANDYMAN:
  116.  
  117. F1      Displays the Help screen.
  118.  
  119. F2      Saves the drawing under the currently active name, which is
  120.         displayed at the bottom of the screen.
  121.  
  122. F3      Saves the drawing under a different name.  Useful for modifying
  123.         a previously saved image.
  124.  
  125. F4      Loads a drawing, overwriting the current one in the process.
  126.         If the current drawing hasn't been saved, you'll have to
  127.         confirm this operation before proceeding.
  128.  
  129. F5      "Revert to Saved" - Restores the last drawing you loaded from
  130.         disk.
  131.  
  132. F10     Print the current screen.  If you have specified a 24-pin
  133.         printer in the Set Up section, you'll be asked if you'd like
  134.         Draft of Presentation quality.
  135.  
  136. Q       Quits back to the opening menu.  If the current drawing hasn't
  137.         been saved, you'll be warned before you can continue.
  138.  
  139. L       Draws a straight line from the start (blue) cursor to the end
  140.         (red) cursor, then places the start cursor at the current
  141.         position of the end cursor.
  142.  
  143. Alt-L   As above, but draws a dotted line.
  144.  
  145. E       As above, but draws a black line, that is it erases a part of
  146.         the image.
  147.  
  148. Alt-E   Erases a rectangular area of the screen, with the two cursors
  149.         as opposite corners of the rectangle.
  150.  
  151. B       Draws a box with the cursors at the opposite corners of the
  152.         rectangle.
  153.  
  154. Alt-B   As above, but draws a box with dotted lines.
  155.  
  156. Alt-#   Where # is from 0-9, fills an area of the screen with one of 10
  157.         paint patterns. Make sure that the area to fill is COMPLETELY
  158.         enclosed, or the paint with 'leak' out onto the rest of the
  159.         drawing.  Hit the Backspace key to undo your mistake if this
  160.         happens.
  161.  
  162. BackSpace  Cycles through the last 5 changes you've made to the
  163.            drawing, allowing you to go back and un-do mistakes.
  164.  
  165. M       Moves the start cursor to the current position of the end
  166.         cursor without drawing anything.
  167.  
  168. *       The asterisk moves the start cursor back to where it was before
  169.         it last moved.  This is useful when you want to erase the line
  170.         you just drew, or if you want to draw several lines radiating
  171.         from the same point.
  172.  
  173. C       Moves the end cursor back to the center of the screen.  Good
  174.         for quickly moving across the screen, or finding the cursor if
  175.         it gets `lost'.
  176.  
  177. T       For adding text, such as labels to your drawing.  The text is
  178.         typed at the bottom of the screen, but is pasted into your
  179.         drawing with the upper left corner of the line of text at the
  180.         end (red) cursor.
  181.  
  182. G       Returns the red cursor to the "grid" it started on.  See the
  183.         section on using the mouse for details.
  184.  
  185.  
  186. USING THE MOUSE:
  187.  
  188. A mouse is not required for HANDYMAN, but it can be helpful.  Both two
  189. and three-button mice are supported.
  190.  
  191. Left Button:
  192.         Clicking and dragging with the left button allows you move the
  193.         red cursor about the screen at will.  You are not limited to
  194.         the one inch grid the keyboard imposes on the screen.
  195.  
  196. Left Button Double-Click:
  197.         Clicking twice with the left button draws a straight line
  198.         between the red and blue cursors.  If the SHIFT button is held
  199.         down during this operation, the line is drawn parallel to
  200.         either the top or the sides of the drawing. It's easier to use
  201.         than to describe, so just try it: it's a useful feature.
  202.  
  203. Right Button:
  204.         Clicking and dragging with the right button moves
  205.         BOTH cursors simultaneously around the screen.
  206.         Useful if you want to start drawing in an entirely
  207.         different area than where you are.
  208.  
  209. Right Button Double-Click & Drag:
  210.         Double clicking on the right button starts drawing
  211.         at the current cursor location.  You keep drawing
  212.         as long as you hold down the button, allowing you
  213.         to make any freehand shapes you'd like.
  214.  
  215.  
  216.  
  217. STARTING A DRAWING:
  218.  
  219. So, now you want to make a drawing of your own: before you do, you
  220. should have an idea of the size of the project you will be drafting.
  221. If you're planning a new bookcase, it might be 48 inches wide; if it's
  222. a room addition, it might be 20 feet wide.  HANDYMAN needs to know this
  223. so it can set the scale of the drawing accordingly. Now go to the
  224. opening menu and choose <New Drawing>.  You'll be asked for the
  225. width of the drawing: it's a good idea to enter a number that's a
  226. little bigger than the width of the project itself, to give you a
  227. little room to work around the edges. In the example  of the bookcase,
  228. 52 might be a good number to choose. HANDYMAN rounds off the number, so
  229. 92.3 will change to 92.  Also, the number can't be larger than 999.
  230. Next you'll be asked whether the measurement is in feet or inches.
  231. This affects how the cursor is moved with each key-press.  The
  232. following chart shows how much the cursor moves with each key-press
  233. when drawing in inches and in feet:
  234.  
  235.                              NumLock         NumLock
  236.                                 ON              OFF
  237.   ╓──────────────────────╥───────────────╥───────────────╖
  238.   ║  Drawing in Inches   ║    1/8 inch   ║     1 inch    ║
  239.   ╟──────────────────────╫───────────────╫───────────────╢
  240.   ║  Drawing in Feet     ║    1 inch     ║     1 foot    ║
  241.   ╙──────────────────────╨───────────────╨───────────────╜
  242.  
  243. After this, the size of the screen will be calculated and displayed,
  244. and if it isn't right you can hit <Esc> and start over again.
  245. Otherwise, you're all set to go!
  246.  
  247.  
  248. LOADING A DRAWING:
  249.  
  250. To Load a previously saved HANDYMAN drawing from the Main Menu, either
  251. move the highlight bar to `Load Drawing' and then press <Enter> or
  252. press `L' to bring up a listing of all drawings in the default
  253. directory.  Select a drawing by double-clicking on its name with the
  254. mouse or by typing in the name. Drawings may also be deleted by
  255. following the filename with `/D'.
  256.  
  257. To load a drawing from the drawing screen, press <F4>. If the current
  258. drawing has not been saved, you  will be asked if you want to continue.
  259. Answering `Y' allows you to load a new drawing, but overwrites the old
  260. one.  Drawings may also be deleted from the drawing screen.
  261.  
  262.  
  263. SAVING A DRAWING:
  264.  
  265. There are two ways to save a HANDYMAN drawing.  Pressing <F2> saves the
  266. drawing under the current name (visible at bottom of the screen) and
  267. places it in the default directory.  Pressing <F3> saves the drawing
  268. under a different name. If no path is specified, it will be saved to
  269. the current directory.
  270.  
  271. PRINTING A DRAWING:
  272.  
  273. Pressing <F10> prints the screen in landscape mode (lengthwise) on an
  274. 8.5 x 11 inch piece of paper.  If you have specified a 24-pin printer
  275. at the `Set Up' menu, you will be asked if you want Draft or
  276. Presentation quality printing.  At the bottom of the page will be
  277. printed information telling the scale of the drawing.  It will
  278. something like `1 inch = 15.30 inches'.  This is so that you can take
  279. measurements off your drawing and apply them to the "real world".  This
  280. feature is quite accurate, and I've found it very useful.
  281.  
  282. If you get distorted results when printing, your printer control codes
  283. may need to be changed.  See the `Configuring Handyman' section for
  284. more details.
  285.  
  286. CONFIGURING HANDYMAN:
  287.  
  288. By choosing `Set Up' from the main menu, the user can change
  289. printing parameters to suit a particular system.  HANDYMAN is hard-
  290. coded with printer codes set for EPSON printers, but you can set your
  291. own codes which will be read at start up from a HANDYMAN.CFG file.  The
  292. default printer codes are set for an EPSON LQ printer and should work
  293. on compatibles as well.  By loading the file `TEST' and printing it
  294. out, you can see how well they suit your printer.  The two squares in
  295. this drawing should measure just a little over one and two inches per
  296. side.  The important thing is that they be truly square and not
  297. distorted.
  298.  
  299. PRINTER SPACING CONTROL:
  300.  
  301. The default control codes for line spacing are 27,51,23.  This
  302. specifies a line spacing of 23/180th-inch.  If your drawings are
  303. distorted, you may change this code by entering the DECIMAL control
  304. codes that should be listed in your printer manual. If the drawing is
  305. too "tall", try 27,51,25 for example.  Other brands of printers may
  306. even use different codes altogether, in which case you'll have to
  307. experiment a little.
  308.  
  309.  
  310. GRAPHICS MODE CODES:
  311.  
  312. HANDYMAN must give instructions to the printer to set it to the proper
  313. graphics mode, and tell it how many columns wide the picture is.
  314.  
  315. The default for 9-pin printers is 27,42,6,188,2.  This sets the printer
  316. to "CRT II" mode (90 dots/inch) and 700 columns wide.
  317.  
  318. The default for 24-pin printers is 27,42,39,120,5.  This sets the
  319. printer to "Triple Density" mode (180 dots/inch) and 1400 columns wide.
  320.  
  321. These settings should be changed with caution, as improper values will
  322. result in garbage being printed out;  a good way to waste a lot of
  323. paper.  Just make sure you've read your printer manual carefully, and
  324. enter only the DECIMAL codes, and you'll do fine.
  325.  
  326. Finally, you will be asked what to do with changes you've made.
  327. `Temporary' keeps the settings in memory for this session only, which
  328. is good for experimenting.  `Permanent' writes them to the file
  329. HANDYMAN.CFG, so they will be active whenever you start the program,
  330. and `Change it' takes you back to the top of the Set Up routine.
  331.  
  332.  
  333. TECHNICAL STUFF:
  334.  
  335. HANDYMAN is written in PowerBasic 3.0 and makes heavy use of PB3's
  336. inline assembly capabilities for the mouse routines, 24-pin printer
  337. routine and the file compression/decompression system. The files are
  338. stored with a modified form of Run Length compression that I dreamed up
  339. myself. It is very fast and results in a nice level of compression for
  340. the drawings.
  341.  
  342. HANDYMAN was orignally written in GW-Basic to aid in the renovation of
  343. my home office. The GW-Basic version had nearly all of the
  344. functionallity of the current version, including mouse support.
  345. Converting to PowerBasic speeded things up remarkably (especially with
  346. the ASM routines handling hi-resolution printing: it used to take 10
  347. minutes to print out a drawing).  File compression, the UnDo function
  348. and mouseable menus were also added with the PB version.
  349.  
  350. A special thanks to Bob Zale and the tech support staff at Spectra
  351. Publishing. They helped me out of several jams on this project. Their
  352. fine compiler is only exceeded by their excellent customer support.
  353.  
  354.